package cn.cqie.frame.bo.add;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author 谢一弘
 * @date 2021/9/2  15:00
 */
@Data
@ApiModel("添加用户")
public class AddUserReqBo {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "0:正常 1:禁用")
    private String status;
    @ApiModelProperty(value = "登录账号")
    private String account;
    @ApiModelProperty(value = "用户Id")
    @TableField("userId")
    private Long userId;
    @ApiModelProperty(value = "角色Id")
    @TableField("roleId")
    private List<Long> roleIdList;

}
